@import "./variables.less";

*,
*:before,
*:after {
  box-sizing: border-box;
  outline: none;
}

html,
body,
#app {
  background-color: @bg;
  font-size: 14px;
  font-style: normal;
  color: #4C4C4C;
  -webkit-font-smoothing: antialiased;
  font-family: Hiragino Sans GB, Microsoft YaHei !important;
  width: 100%;
  height: 100%;
}

@font-face {
	font-family: 'Microsoft Yahei';
	src: local("Hiragino Sans GB");
}

body,
img,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
div,
span,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td,
iframe,
#app {
  margin: 0;
  padding: 0;
  font-family: Hiragino Sans GB, Microsoft YaHei !important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  display: block;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

fieldset,
img {
  border: 0;
}

address,
caption,
cite,
dfn,
em,
th,
var,
i,
em {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;

  &:hover {
    text-decoration: none;
  }
}

a,
label,
button,
input,
select {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input,
select,
button {
  font: 100% tahoma, \5b8b\4f53, arial;
  vertical-align: baseline;
  border-radius: 0;
  background-color: transparent;
}

button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"]>input[type="button"]::-moz-focus-inner {
  border: none;
}

input[type=checkbox],
input[type=radio] {
  vertical-align: middle;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}

// input:-webkit-autofill {
//   -webkit-box-shadow: 0 0 0 1000px white inset;
// }

textarea {
  outline: none;
  border-radius: 0;
  overflow: auto;
  resize: none;
  font: 100% tahoma, \5b8b\4f53, arial;
}

.el-loading-parent--hidden {
  overflow: auto !important;
}
